import { post } from '@/utils';
import { apiPrefix } from './prefix';

// 登录接口
export const login = (params: Object) => post(`${apiPrefix}/login`, params);
// banbne
export const postBanner = () => post(`${apiPrefix}/login`, {});
// 公告
export const postNotes = () => post(`${apiPrefix}/login`, {});
// 公告
export const postMain = () => post(`${apiPrefix}/login`, {});
